added 2 dimensional plot to methods