working on logic to declare winner