adding the data and plotter