using alert-state algo without time-check