minor changes
added flag to AnalysisResult