added setRotation