coding view menu, menu detail