end of plot1