counters for ids
define the submenus from within the view