set detection stub