   setDisplayBrightness(64);
   updateDisplay();
 
-  //some stuff
+  //SD card pin setup
   pinMode(10, OUTPUT); //CS pin
   pinMode(SS, OUTPUT);
 
   //motor shield stuff
-  
+  /*gMotorShield.begin();
+  gPtrToStepper->setSpeed(30);//*/
 
   //SD card stuff
   /*Wire.begin();

  if (! RTC.isrunning()) {
    Serial.println(F("RTC is NOT running!"));
    RTC.adjust(DateTime(F(__DATE__), F(__TIME__)));
  }*/ 

  delay(500);


const long minute2 = 60000; // 60000 milliseconds in a minute
const long second2 =  1000; // 1000 milliseconds in a second

RTC_DS1307 RTC; //real time clock (on SD shield)

int PIStates[] = { 1, 1 };
int lastStates[] = { 1, 1 };
