Implemented voting, still errors