stupid Elector class