added 3d graph