completed plots and codes