change codes hierarchy again