voteDriver method added