added rpc example.