output pruning