add functionality to declare winner