Added ability to declare winner, problem with vote weight defaulting to 1