This could have easily gone so wrong.