Recommiting new version of getProvinces method. Resolved a few issues,
restructured the code