I added an on win event
added an on win event