word_morphy function change