Use a module to access the global variable