It was touch and go for a while