Implemented ClearEdges