Xinqi's commit for restaurant checking availability