changed define to class based const