move print_tree()