add select function. make testRestaurantList work