Title: Adapting rural livelihoods to climate change