beginning of alert system