Attempt 3 at the path
Properly insertion into graph