added selection to Analyzer