Added election factory