implemented autonavigation feature