redid the print functions