label the edges