getRoutes solved