total cost rent purchase