major changes to Visualizer