few changes to get the vote to work