trie now created with special codes
setup for escape flag