made changes to graph