support rotation.