Designing resilient infrastructure