also part of the rotation script