Changes to plot6