adding rpc exercise