basic OOP on elections