added caret and rotation