Modifies code to allow only one winner