https://alezinhacris.blogspot.com/2023/09/scope-variable-with-loop.html
Scope Variable With A Loop