President Obama signed a $662 billion defense authorization bill Saturday, but the White House attached a lengthy signing statement vehemently objecting to several provisions concerning the detention and prosecution of terror suspects.

The defense bill, which funds a wide range of security programs and sets Pentagon policy, calls for the mandatory military detention of al Qaeda terror suspects and requires a waiver to move them to civilian courts.

“I have signed this bill despite having serious reservations with certain provisions that regulate the detention, interrogation, and prosecution of suspected terrorists,” Obama said in a signing statement.