new Functions

sorted regions by beacons and geofencing