changed menu to hierarchical