added packageTree for menus