Switch to global variable