modified the way to get RouteFamily objects