minor changes in graph gen