(Reuters) - Macy's Inc M.N said on Tuesday it plans to close 125 of its least productive stores over the next three years to tackle slowing mall traffic and will slash more than 2,000 corporate jobs as a part of a cost-savings effort.

FILE PHOTO - People wait to enter Macy's Herald Square ahead of early opening for the Black Friday sales in Manhattan, New York City, U.S., November 28, 2019. REUTERS/Andrew Kelly

The Cincinnati, Ohio-based company operated 867 stores according to a regulatory filing a year ago. It had 130,000 total employees at the time.

Macy’s said it would close stores in “lower tier” malls, and explore new off-mall formats, as it looks to tackle plummeting mall traffic in the United States.

The 161-year-old department store chain has been grappling with retaining existing shoppers and attracting new ones as consumers opt for online shopping. Since 2015, it has closed more than 100 stores and cut thousands of jobs.

“We will focus our resources on the healthy parts of our business, directly address the unhealthy parts of the business and explore new revenue streams,” Chief Executive Officer Jeff Gennette said in a statement.

The 125 stores targeted for closure currently account for about $1.4 billion in annual sales, the company said.

Annual revenue was $24.97 billion in fiscal 2019.

The largest U.S. department store operator also said it expects annual gross cost savings of $1.5 billion by 2022, with $600 million expected in 2020.

It forecast full-year net sales of between $23.6 billion and $23.9 billion, below analysts’ average estimate of $24.36 billion, according to IBES data from Refinitiv.

“We think the pace of closures across three years is modest compared to years past,” said CFRA analyst Camilla Yanushevsky.

Shares of the company were trading roughly flat after market close on Tuesday.

The company will host its investor day on Wednesday.