got it working with the trie, and added that the trie is also created to the loader