simplified rpc call