Wrote a very basic rankRegion function