Changing the rotating

Made the method usable and more logical