added getRegions method to application