add plots and pdf