started graphing code