just a basic closure variable is needed
scripted update of code from master at 7af72dd just a basic closure variable is needed