const helper = (root, key) => {
            if (root === null) {
                return
            }