some changes to the election models