improved graphing