refactored slacAnalyzer