pruning added