changes in set election_type