added movement and rotation