hooked up the graph