two dimensional arrays for sub menus