simplifying the clean_name function.