adding bigram code