new-threat functionality