adding freqtable