Making sure everything is committed2