change also avElection to the new format