updated graphing