add edges to graph seems to work