i have done a few tests and i every time i put a function that returns the variable or a standard value depending on an if statement (that checks the value of the variable)