cleaned up plotter