added rpc sample