make setter for cubeRotation public