connected to rpc