changing element to edge to make list comp more clear