adding graphing code.