adding a plot