added codes and plots (png file)