VotesHandler: implemented print() debug function