add plot 2 code and plot