https://regeneratingserumolayfast.blogspot.com/2024/01/inner-function-cannot-access-outer.html
Inner Function Cannot Access Outer Functions Variable