We can learn to adapt