votes validation implemented