Refactored global variable to class variables