changing route and adding min