Introducing a new method for setting up submenus