reworking gograph creation