Moved global to class file