Working version of getProvinces method