Couldn't this possibly throw an exception if there is no region? ```[][1]``` would be undefined.