added the edges output