network AZ with threshold