working on the menu tree