removed localsArray and electionData collection