Building resilient systems to weather the unexpected