Changed out Rob's broken rotate function for Matt's working - what a reno