swapped out hard-coded region value for settings value