another trie data structure