rpc sample