add the print lines in code