almost done except for a bug with vote_value