set up stateful tracking on ballots and elections