added winning logic and data