Work on voting, but I get 'undefined function: :vote.state/1' after each and every vote completion