If you repair or improve your rental right before you sell it in the same year where to enter the cost to lower capital gain?