updated winChecker