changed getDirectedPackageByRegion for performance improvements