change constant define method