What: Shares of retailer Wal-Mart (NYSE:WMT) tumbled on Wednesday following the company's investor day meeting. Wal-Mart guided for EPS to decline by 6%-12% in 2017, driven by investments in higher wages and e-commerce, with earnings growth expected to return in 2018. At 2:55 p.m., the stock was down about 9.6%

So what: Wal-Mart enacted a variety of initiatives aimed at its employees earlier this year, including a $9 hourly wage for new employees, training programs that create a path to $10 per hour for all employees, and new scheduling procedures. Wal-Mart had previously announced that it expects earnings in fiscal 2016 to decline, in part due to higher labor costs, but investors were clearly not anticipating a further decline in 2017.

Wal-Mart expects to grow sales by $45 billion to $60 billion over the next three years, with e-commerce being a major contributor. Wal-Mart guided for total capital expenditures to reach $12.4 billion in 2016, with investments in both its stores and e-commerce growing compared to 2015. Slower store growth will lead to just $11 billion of capex in 2017, with e-commerce accounting for $1.1 billion..

Wal-Mart also announced a new share buyback program, with a fresh $20 billion earmarked for share buybacks over the next two years. This news was completely overshadowed by the company's weak earnings guidance.

Now what: Wal-Mart's plan is for these investments in its employees, its stores, and e-commerce to pay off in the long-run, and the company expects to return to earnings growth in 2018, with 5%-10% EPS growth in 2019. According to CEO Doug McMillon, these initiatives are already paying off, with approval ratings from customers on the rise and sales growing at U.S. stores.

Following the decline today, shares of Wal-Mart are now down 33% from their 52-week high. The company's disappointing guidance dragged down a variety of other retail stocks, including competitor Target (NYSE:TGT) and discounter Dollar General (NYSE:DG), which are down 4% and 3.4% respectively on the news. Fears that Wal-Mart's higher wages could force other retailers to follow suit are likely contributing to today's broad decline in retail stocks.