added getRegions method