Worked on re-implementing rotates