graph.c is updated