remove dependency on routeParams