White House lawyers are working on a new version of President Donald Trump’s immigration executive order, NBC News reported Friday.

According to an unnamed senior administration official, NBC reported, work on a new order began several days before an appeals court maintained a lower court’s temporary suspension of Trump’s order Thursday evening.

Trump’s executive order temporarily halted travel and immigration from seven Muslim-majority countries (and indefinitely from Syria) and indefinitely suspended the United States’ refugee program.

Several unnamed sources close to the President told MSNBC’s Joe Scarborough, according to the same report, that White House lawyers were working on language for a new order that would pass muster with federal courts.

On Thursday afternoon, a federal appeals court maintained U.S. District Judge James Robart’s temporary restraining order on Trump’s order, shooting down the government’s argument that the President’s authority to limit immigration was “unreviewable.”

Trump on Friday morning called the decision “disgraceful.”