8 things to think about when buying a home