updated voting functionality to disallow double counting

Extra empty line detected at body end.