implement CCLASS_PRINTING