The development of resilience thinking