Move edge to file scope
Loop over