removing extra level of hierarchy