add call to globalVariables