changed FreqDist to FrequencyDistribution just to be pedantic