Things to consider before buying a restaurant