added tree visualizer