adjusting the routes