added new base class for global variable.