with pruning