President Donald Trump on Thursday blamed last week’s deadly collision of a passenger jet and Army helicopter on what he called an “obsolete” computer system used by U.S. air traffic controllers, and he vowed to replace it.

Trump said during an event that “a lot of mistakes happened” on Jan. 29 when an American Airlines flight out of Wichita, Kansas, collided with an Army helicopter as the plane was about to land at Ronald Reagan National Airport near Washington, killing all 67 people on board the two aircraft.

In the aftermath of the tragedy, Trump blamed it on diversity hiring programs. But on Thursday, he blamed the computer system used by the country’s air traffic controllers.

“It’s amazing that it happened,” Trump said at the National Prayer Breakfast at the U.S. Capitol. “And I think that’s going to be used for good. I think what is going to happen is we’re all going to sit down and do a great computerized system for our control towers. Brand new — not pieced together, obsolete.”

Trump said the U.S. spent billions of dollars trying to “renovate an old, broken system” instead of investing in a new one. He said in his private jet, he uses a system from another country when he lands because his pilot says the existing system is obsolete. Transportation Secretary Sean Duffy and Elon Musk said in posts on X that Musk’s team at the Department of Government Efficiency is going to help rapidly upgrade the nation’s aviation safety system.