took care of the changes in PlotGraph3D