working with ngram of 2