basic geofence detection added