delete unnecessary outputs and redendent input examples.