cleaned up varFreqs a little