restructoring the routes