first version of WbAnalyzer (stolen & patched from ZbAnalyzer)