Starting graphing code