change in graph generation