Converted geofence to use Dom