added adjacent_words method