add plots and codes