For the most part , the White House lauded the bill 's proposed funding for the wars in Afghanistan and Iraq , as well as its cancellation of three programs that Defense Secretary Robert M. Gates has been particularly eager to kill this year : the F-22 fighter plane , a second engine for the F-35 fighter and a new presidential helicopter program .