more alarm logic