working on p2 plots