looks like I’m explaining something very obvious, but I still perceive a lack of clarity simple smile so an object declaration is a singleton. and it isn’t possible to create a singleton that has access to the variables declared in a function, because a function can be invoked multiple times and will have different values of local variables on each invocation