implemented win scenario