`this_attempt` doesn’t appear to be used: what’s the purpose of the inline assignment here?