Amtrak said Tuesday it would install inward-facing cameras on locomotive cabs after a train derailment earlier this month killed 8 people and wounded about 200 others.

The cameras, which the National Transportation Safety Board has been recommending for years, would record the actions of train engineers and could help explain accidents like the one on May 12. Trains currently have black boxes and outward-facing cameras, but neither record the actions of the people driving the train. The NTSB has been recommending sound recorders in locomotive cabs since the 1990s, the Associated Press reports, and five years ago added that there should be video recorders as well. Amtrak will start by equipping 70 trains that service the Northeast Corridor, with 38 cameras installed by the end of the year.

Northeast Regional train 188 was speeding at 106 mph around a curve where the speed limit was 50 mph when it derailed. Brandon Bostian, the train’s engineer, has said through his lawyer that he has no recollection of the crash, possibly because of a concussion he sustained when he hit his head.

“Inward-facing video cameras will help improve safety and serve as a valuable investigative tool, ” Amtrak President & CEO Joe Boardman said in a statement. “We have tested these cameras and will begin installation as an additional measure to enhance safety.”

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Charlotte Alter at charlotte.alter@time.com.