Working Hierarchical tree