All plots and codes done