complete the print code part