The best way to stop disasters in the air and at sea is to find out what caused the accident in the first place.

The BBC's Richard Westcott looks at accident investigators' latest weapon in the battle to find out why ships and planes crash.