New way to help farmers deal with climate change