lazily calculted freq, as a precursor for marshalling