dont create the trie in the parse method, create reusable parser.