added switch to alarm cells