modify to use TransformToOrientation method