replace some hard-coded values with macros