add menu and submenu