   }
 
   //if the time has not been set since the last power cycle
-  //or mil has counted over 50 days and reset, just keep blinking all
-  //the lights till the time is set.
+  //blinking all the lights till the time is set.
   if(!time_set){
     if(p1 == 1){
       digitalWrite(13, LOW);   

  if(reset_fast){
    delay(100);
  }else{
    if(reset_slow || !time_set){
      delay(1000);
    }else{
      delay(5000);

  mil = millis();
  
  //add this to determine if mil has counted 50 days and has reset.
    if(prev_mils > mil)
	overflow = true;

  prev_mils = mil;
 
  //see if the time is being set. 
