got winner code working