What is the key to happiness? Apparently, moving to Boulder.

Boulder was named the “happiest” city in the country, according to a recent study published by National Geographic. The index was done by National Geographic along with author Dan Buettner and Gallup and studied 15 metrics, including healthy eating, civic engagement, financial security and vacation time.

“Bolstered by a sense of community, access to nature, sustainable urban development and preservation policies, and perhaps even that clean mountain air, Boulderites overwhelmingly feel ‘active and productive every day,'” according to National Geographic. “Life is not always rosy in the Rockies-stress is on the rise; on average, 49 percent of locals surveyed reported feeling stress-but the qualities that keep Boulder on top make this city America’s happiest.”

Buettner said in the article that Boulder’s bike-friendly streets contributed to its ranking.

Read the full story at dailycamera.com.