add plots and code