Added pruning