Remove the code for rotation