Raytheon Technologies [RTX] on Tuesday posted higher sales and net income in the third quarter driven by a rebound in the aftermarket business for commercial aircraft and strong results in its defense businesses, leading the company to boost its earnings outlook for this year.

Net income of $1.4 billion, 93 cents earnings per share (EPS), was up more than 500 percent from $264 million (17 cents EPS) a year ago. Adjusted earnings, which exclude acquisition related accounting adjustments, and to a lesser extent debt retirement and restructuring costs, were $1.26 EPS in the quarter, topping consensus estimates by 17 cents per share.

Sales increased 10 percent to $16.2 billion versus $14.7 billion a year ago with all of the growth organic.

Growth in the quarter was led by the Pratt & Whitney engine business, which was higher due to the commercial sales in the aftermarket and passenger aircraft business, and also benefited slightly from an uptick in sustainment for F-135 engines that power the F-35 fighter jet.

Sales were also up at the Collins Aerospace segment related to commercial aftermarket support and the Raytheon Missiles and Defense Segment due to growth on an international National Advanced Surface to Air Missile System and the Advanced Medium-Range Air-to-Air Missile program.

Income gains were driven by commercial aftermarket at the Collins Aerospace segment and a swing to profit at Pratt & Whitney, also due to improvements in the commercial aftermarket. RTC’s defense businesses also enjoyed double-digit percentage increased in operating income due to improved productivity and higher sales.

Given year to date performance, cost controls and cost savings synergies from the merger of United Technologies and Raytheon, RTC increased its earnings projections this year to between $4.10 and $4.20 EPS versus prior guidance of between $3.85 and $4 per share. The company also expects sales to be $64.5 billion, which is toward the low end of its previous outlook of between $64.4 billion and $65.4 billion and represents organic growth of about 1 percent versus prior expectations of between 1 and 3 percent growth.

RTC will have about $350 million in lower defense sales this year, about $275 million of which will eventually be recovered, Greg Hayes, the company’s chairman and CEO, said on an earnings call. The U.S. military withdrawal from Afghanistan is responsible for $75 million of the lost sales through services to the U.S. and Afghan governments and won’t be recovered, he said.

Hayes described the $275 million in lost sales as supply chain and workforce issues. RTC hasn’t been able to hire enough new employees, which impacts revenue, he said. Supply chain issues are also preventing the receipt of raw materials and components, which can’t be billed to customers until they arrive, he added.

Hiring issues represent about one-third of the lost defense sales and the supply chain disruptions the rest, Hayes said. Lead times for some raw materials have doubled, he said, adding that logistics have also become a challenge with having trucks picking up and delivering materials. Suppliers are also facing labor shortages, he said.

President Biden’s Dec. 8 vaccine mandate for federal contractors is likely to add to near-term supply chain pressures. But in the long-term, as vaccine rates increase, this will boost confidence in the safety of air travel, Neil Mitchill, RTC’s chief financial officer, said on the earnings call.

A drop in production rates for Boeing’s [BA] 787 commercial airliner has also significantly impacted sales expectations this year, Mitchill also said.

Free cash flow in the quarter was strong at $1.5 billion and for the year is projected to be $5 billion, which is at the high end of the prior outlook. Backlog at the end of the third quarter stood at $156.1 billion, up 4 percent from $150.1 billion at the end of 2020. Defense work accounts for $65 billion of the backlog, down $200 million from the end of 2020.

RTC acquired two companies during the third quarter, FlightAware and SEAKR Engineering, and Hayes said these are the types of deals the company will continue to make, particularly to enhance current offerings in software and space systems. The company continues to review its portfolio for potential divestitures of lower margin, lower growth businesses, he said.