menus take array of elements