pruning text