added number of levels to menus