implemented working entity transformation hierarchy