Takes out trigrams