added an operation control and a linefollower termination control