implemented set election options