Have yet to test this, but should word completely for trie class