https://demosngcomsgblog.blogspot.com/2024/01/function-doesnt-correctly-perform.html
Function Doesn't Correctly Perform Unless It Is Called Twice