define RouteSelector interface