changed from define to a local class variable