modify intRotate