fix up grammatical mistakes in this text:
To put the whole matter in a nutshell the self-driving system is good to prevent accidents.
To put the whole matter in a nutshell, the self-driving system is good for preventing accidents.