start of graphing stuff