correctly identifying pruning situations