get submenus working