let
state ec = ec.num_fail_alerts = 0