implemented DocumentCheck and ScannerQueue