created the graph