changes to plot 4