adding trie to app