Add rank to trie and return functions