renamed route-spec -> orig-route for clarity and to avoid name collision with function