added helper functions in RouteNode