regional affinity experimental randomization code