Rotate implementation, not tested on the bot yet