An employee was in a trench, welding/installing a new pipe that was being held up using an excavator. The excavator arm rotated, and the employee was pinned between the pipe and the trench box. The employee suffered three broken ribs and a collapsed lung.