condition on one edge