keep constants out of global scope

@BrentWheeldon