Add a function to retrieve a worker's region