adding plot code and pics