some semblance of HxxScanner