Replaces frequency as table