added ccw check