commiting before leaving.