complete the functions of trie_containers