added getRotation