Modify the following sentence to remove all grammatical errors
Overcoming a problem requires time and repeating trial to make sure that the product is safe to use and works efficiently.
Overcoming a problem requires time and repeated trials to make sure that the product is safe to use and works efficiently.