voting validation