Working version of votes, fixes syntax error on show page