Things to think about when buying a home