working on graph 2