just started rewriting the plotter