changed syntax of vote/2