Modified hierarchy for Lab8