Added alertThreshold