added 2D graph