print_clean() function introduced