add election class