Exercise: hierarchies