made hierarchical diagram explanation clearer