managing hierarchy