added the plot and data