typeOfRoutes() updated