restaurant model implemented