hierarchy maintenance