Formated votes and set up some validations.