change the function name of tree traversal