original_query: What changes were made in 2005 regarding derivatives and financial transactions in relation to the bankruptcy code?
query: What changes were made in 2005 to the bankruptcy code regarding derivatives and financial transactions?
answer: In 2005, the Bankruptcy Abuse Prevention and Consumer Protection Act (BAPCPA) exempted certain derivatives and financial transactions from bankruptcy code provisions that freeze a failed company's assets until a court decides how to apportion them among creditors.