minor edit to get_word