How to prepare for the unexpected