Source: https://www.biggerpockets.com/forums/51/topics/205924-avoiding-capital-gains-through-buying-rentals?page=1