elections are used to choose between candidates for certain types of positions