Making sure everything is committed