Data structures for storing frequency info