hierarchical adaptation