added plot 3 and plot 4