In particular, after the “Once upon a time” section, describe how closures are actually used to maintain state.