adding RPC