printHierarchy