     case STATE_PULL_BACK_FLAP: 
       //Serial.println( "PULL BACK FLAP" );
       if ( moveItemStepper.distanceToGo() == 0 && !moveItemStepperIsRunning ) { 
-        moveItemStepper.move( 700 );
+        moveItemStepper.move( pullBackFlapSteps );
         Serial.print( "distanceToGo = "); Serial.println( moveItemStepper.distanceToGo() );
         Serial.print( "targetPosition = "); Serial.println( moveItemStepper.targetPosition() );
         moveItemStepperIsRunning = true;

      Serial.println( "RAISE TOP FLAP" );
      servoDriver.writeServo1( SERVO1_UP );
      fsmState = STATE_MOVE_ITEM_OUT_PHASE_ONE;
      //delay( 1000 );
      Serial.println( "->> MOVE ITEM OUT PHASE ONE" );
      break;

    case STATE_MOVE_ITEM_OUT_PHASE_ONE: 

      //usDistance = ultraSensor.distanceCm();
      usDistance = -1;
      if ( stopMicroSwitch == LOW && moveItemStepper.distanceToGo() == 0 ) {
        moveItemStepper.move( -4800 );
        moveItemStepperIsRunning = true;
        fsmState = STATE_MOVE_ITEM_OUT_PHASE_ONE;
      } else if ( moveItemStepper.distanceToGo() != 0) {
        moveItemStepper.run();
        fsmState = STATE_MOVE_ITEM_OUT_PHASE_ONE;
      /*} else if( usDistance < 10 && moveItemStepperIsRunning == true ) {
        moveItemStepper.run();
        fsmState = STATE_MOVE_ITEM_OUT_PHASE_ONE;*/
      } else {
        /*moveItemStepper.stop();
        moveItemStepperIsRunning = false;*/
        fsmState = STATE_MOVE_ITEM_OUT_PHASE_TWO;
      }
      break;

  Serial.begin( 9600 );

  // Initialize components
  baseShield.begin();
  //infraredReceiver.begin();  
  ultraSensor.begin();

  moveItemStepper.setMaxSpeed( maxSpeed );
  moveItemStepper.setAcceleration( acceleration );

  servoDriver.Servo1_begin();

