add trigram