trying to get a global variable to friggin work