if alarm[0] < 0 alarm[0] = 6;