updated visualizer so that it actually works