Refactored that insanely clunky winner function