add -k to allow selective deletion of arcs