finished the graph