removing normalizeRoutes method