add all edges