added getElectionStatus method