gn to global scope