Output the function which captures the variable instead of its scope.