change example code to use strings instead of ints for region ids