basic structure set for autogenerating menus