do stuff about menus trees