added majority of graphing stuff that I could do