changed voting part 1 - unfunctional