still working on plot6