Alert functions integrated