changes for visualizer