added win checker