depends and inherits hierarchies