Not sure if it should be `num_failed != 0` or not?