removed the createEdgeBetween line