It could have been much much worse.