change in comparing election_type