Added visualizer method