adding the plotting code