minor edits on closures are unavoidable