adds trigram to upper