Adding point-rotation function.