Changes to Graph Class