adding name for the edges