New York: It’s been a rough year for Facebook and its investors. Questions of data privacy, fake news proliferation, and user growth have dogged the company.

Now, it is investing heavily in fixing those problems. Not everyone is convinced of the solutions but if you take Facebook at its word, the changes it plans will ultimately make the social media service better for its 2.2 billion users.

For Facebook, the investment is not just about catering to users; it’s also an act of self-preservation. If trust in the platform erodes, so too does the company’s user base as well as the advertisers who pay big money to access eyeballs.

The social media giant’s shares tanked 19% on Thursday in its biggest one-day drop in Facebook history the day after it revealed that user growth has slowed amid swirling questions about how Facebook’s information is used. But CEO Mark Zuckerberg says it’s all for a good cause, even at the expense of short-term profits and stock price.

For one, the company is on track to hire 20,000 content moderators this year to clean up posts, photos, and videos on its platform that violate the social network’s rules.

They go through everything from nude photos to violent videos and threats of violence to determine what can stay on Facebook and what needs to go.

Facebook is also investing in artificial intelligence and machine learning to automate its cleanup efforts, but experts say it could take decades before this effort fully pays off.

The company already uses AI to automatically remove child pornography and terrorist propaganda, but with content in the gray areas, humans need to step in.

Facebook also must keep its service useful and fun for people while grappling with growing concerns about tech addiction and the effects of social media on people’s well-being.

For years, the company has been able to grow the way it has by using subtle and not-so-subtle tricks to keep as many people on Facebook for as long as possible, including endless notifications and prompts to log in, algorithms that show users what they want to see and an endless stream of friend suggestions under the heading “people you may know.”

To fix this, Facebook says it is now prioritizing “meaningful” content in people’s feeds, such as photos and notes from friends and family and posts that spark conversation rather than mindless scrolling.

In Europe, the company doesn’t have much of a choice. But there is a broader backlash around how it handles users’ private information and in an increasingly privacy-conscious world, its core business model could start to show some cracks.

Critics say there are plenty of reasons to be skeptical of Facebook’s fixes. Despite Zuckerberg’s missives about building community and making the world better, it is still a business.