hmm global not working?