pruning all the text