getEdge correct now