added rpc call