If President Obama is determined to make his last hours as president as destructive and potentially deadly to U.S. citizens and our nation’s allies, as possible, then it’s good to have people like Ted Cruz proposing solutions.

Sen. Ted Cruz (R., Texas) on Tuesday introduced legislation that would mandate the declassification and public release of information on previous terrorist activities of former Guantanamo Bay detainees transferred since the presidential election.

The Defense Department has announced the transfer of several Guantanamo prisoners to foreign countries in recent months, as Republicans in Congress have expressed concerns about former prisoners resuming terrorist activities and the ability of foreign governments to keep track of ex-detainees.

Ten Gitmo detainees were transferred to the government of Oman, this week, according to the Wall Street Journal. That puts the population in Gitmo somewhere below 50 detainees.

The details of Senator Cruz’s bill include direction for the secretary of defense to declassify and release the records of past terrorist activities of the detainees released since November 8, 2016.

“Even though the American people rightly rejected President Obama’s dangerous plan to completely empty the Guantanamo detention facility, he is still irresponsibly working to release as many terrorists as possible before he leaves office,” Cruz said in a statement on Tuesday. “President Obama’s push to empty GTMO is reckless, and the American people should be made aware of the past terrorist activities committed by the individuals detained there.”

Data has shown that around 30 percent of all detainees who are released go right back to terrorist activities, putting the lives of innocents in jeopardy.

Senator Cruz’s bill is just one step needed to build a safety wall against the dangerous final hours of an Obama presidency.