commiting for a place to rollback in case crash