added strategy pattern for plotter