added getRegions/getLanguages functions