Hierarchy using containers