modified emergency_locate