matchRoutes: docstring