added plot1 and plot2