adding Trie and List