simple hierarchy classes hack