extracted hierarhcy class