freq table is now precalculated