adapting to the changing driving environment