   if(p8 == 1) min_init += 2;
   
   if(p6 == 1 && p7 == 1 && p8 == 1)
-    subtract_1_min = true;
+    min_init -= 1;
 }
 
 void setup(){

  //reinitialize time setting booleans to false.
  reset_fast = false;
  reset_slow = false;
  add_2_mins = false;
  subtract_1_min = false;

  //get the time that the program has been running, to calculate time.
  mil = millis();
  
  //add this to determine if mil has counted 46 days and has reset.
  if(prev_mils != 0){
    if(prev_mils > mil){
      time_set = false;

  
    //calculate values for hours and minutes.  
    mins = sec/60;
    mins += min_init;
    hr = mins/60;
    mins -= (hr*60);
