adding a trie