Changed rot to rotate