The tax lifecycle of real estate