Simulating failures: how it works