added validation for votes, no error messagse yet