started refactorising find/create trie code for reuse