     }
   }
   stopMotors(); //stop all motors "set all pins to low"
+  initialization(); //re-initialize motors
   //check number of dispensed bills
   if(billCount == total)
     Serial.print("t");

void getBill(){
  int steps = 0; //for storing steps to return to initial position again
  digitalWrite(pump, HIGH); //activates the pump
  while(/*getCurrent() < currentThreeshold &&*/ steps < maxUpSteps){ //go down until gets one bill
    stepDown(); //move one step down
    steps++;
  }

  billCount = billCount + 1;
}

//dispenses given bill array
//array is given via serial port from RPI
void hardwareDispense(){
