refactored the restaurants helper big time