A previously undisclosed provision in the Senate version of an annual defense policy bill specifies that the Pentagon could use funds to plan or design new facilities in the United States to house Guantanamo Bay detainees.

The provision was not included in a summary of the National Defense Authorization Act (NDAA) released by the Senate Armed Services Committee last week. The committee released the full text of the bill Thursday night.

“The Secretary of Defense may use amounts authorized to be appropriated or otherwise made available for the Department of Defense for designing and planning related to the construction or modification of such facilities,” the bill reads.

The Senate version of the bill could also potentially ease the closure of the facility by allowing detainees to plead guilty in civilian court via videoconference and having them serve their sentences in foreign countries.

The legislation retains laws prohibiting the use of funds to transfer or release a detainee to the United States or to construct or modify facilities in the United States to house detainees. But it also includes specifying those bans don’t apply to planning or designing.

Earlier this year, when President Obama released his plan to close the detention facility, Armed Services Chairman John McCain (R-Ariz.) complained that it was a “Chinese menu” of options.

McCain had been one of the few Republicans in support of closing the facility, but the lack of the specifics in the White House plan caused the administration to lose him.

Read More- The Hill