functionality with center and right sensors