voting via rpc