added the edge class