used a different name for global cuz "global" has been renamed