rename print-stack as visualize-stack.