Working on graph connection