start creating graph