visualizer uses proper java class now