changed $region var