routig::rpcs re-factored