The black box in airplanes