Commiting before sleeping.