Committing the current state to stop me from losing my sanity