analyzer with TreeSet