implemented Restaurant example