add some print codes