Modified Ballot class and tweaked the application interface