4 questions before you buy a home