added plot 1 with code