add piece freq class