some work on graph.