when u buy a house. The closing cost and improvement cost can be deducted when u sell this house to calculate the capital gain