     Serial.print(F("Replacing pellet #"));
     Serial.print(String(inputNum + 1));
     Serial.println(F("..."));
-    
-    //power_twi_enable();
-    //gPtrToStepper->step(STEPS_TO_INCREMENT/2,FORWARD,DOUBLE);
-    //gPtrToStepper->step(STEPS_TO_INCREMENT,BACKWARD,DOUBLE);
-    //gPtrToStepper->release();
-    //power_twi_disable();
-    delay(1000);
+    //moveMotor(inputNum);
+    delay(500);
   }
   
   else if (PIStates[inputNum] == 0 & PIStates[inputNum] != lastStates[inputNum]) {


  //motor shield stuff
  /*gMotorShield.begin();
  gPtrToStepper->setSpeed(30);//*/

  //SD card init stuff
  Wire.begin();

int lastStates[] = { 1, 1 };
int pelletCount[] = { 0, 0 };

#define FILENAME "PelletData.csv"
const int CS_pin = 10;
SdFat SD;
File dataFile;

/*const int MOTOR_STEPS_PER_REVOLUTION = 513;
const int STEPS_TO_INCREMENT = 64;
Adafruit_MotorShield gMotorShield = Adafruit_MotorShield();
Adafruit_StepperMotor *stepperMotors[] = { gMotorShield.getStepper(MOTOR_STEPS_PER_REVOLUTION,1), gMotorShield.getStepper(MOTOR_STEPS_PER_REVOLUTION,2) };
//*/

void setup() {
  //power saving stuff
