validation for restaurants passing