now storing dominantFreq