tries to clean up the printing functions