if active { alarm[0] = 3 active = 0 }