FLEX-698 let's use rotate! and raise an error if the args are wrong