using GLOBAL instead of global for code concurrency