High-tech system on vehicles is preventing crashes