use rpc instead of srpc in examples.