adding the plot