added graph gnerator