added HA queue functionality