Added setRotation