readded in missing geofence stuff