restored the global..... for now