cleaning up the printing