Rpc example working