"And that could have been a disaster."