adding semicolon as a delimeter for Trie