voting system and validation created