Graphing almost working