As reported by ABC News, FedEx and United Parcel Service Inc. (UPS) are hiring more workers to avoid the delays that plagued last year’s holiday season.

FedEx plans to hire 50,000 seasonal workers, up from 40,000 last year, while UPS will add up to 95,000 people, up from 85,000. Last year, both companies scrambled to hire more seasonal employees than they had planned.

FedEx also expects to invest $1.2 billion in its ground-shipping network in its current fiscal year, with most of that going to increase capacity and automation. The company said that the improvements have sped up ground delivery by a day or more in more than two-thirds of the U.S. UPS has also invested to boost shipping capacity during the holidays.

Last December, the delivery giants were caught off-guard by bad weather and a surge in last-minute online shopping, leading to an estimated 2 million packages arriving late for the holidays.

About 1.3 million express packages handled by UPS and 618,000 carried by FedEx failed to get delivered on time last Christmas Eve, with UPS and FedEx at fault roughly 30 percent of the time, according to ShipMatrix Inc. In most cases, retailers promised guaranteed express delivery, but didn’t pay the delivery companies for that speedier service.

The retail federation’s online division, Shop.org, predicts that online sales in November and December will rise 8 to 11 percent over last year.