Trie definition \&c