added reset after win