submenu snippet