change make_phrase method