added plot codes and png