change to setglobal