modified plot1