Resilience and elasticity