remade regionChecker