RPC implementation added