add the plot and source code