d the two cases