Workers at Westlake Village, Calif.-based Dole Food Co.’s Muelle and Bosque farms in Costa Rica recently opened two community centers thanks to Fair Trade pineapple purchases at Whole Foods Market stores.

The pineapple farms received Fair Trade certification in 2012, and employees saved Community Development Funds earned through the program for nearly four years to fund the facilities, according to a news release.

“I’ve had the privilege of visiting these community centers firsthand, and was moved by the dedication of the workers to this project and the quality of the facilities,” Ken Redding, chief commercial officer for Fair Trade USA, said in the release.

“Working together they identified a critical need, saved over time, and invested their Fair Trade funds in a project that will serve the community for decades to come.”

The centers benefit farm workers and others in the surrounding communities, according to the release.

Whole Foods Market is the main U.S. retailer of Dole’s Fair Trade pineapples from Costa Rica, and the only national chain to carry them, according to the release.