modify FreqStatistics