   Serial.begin(9600);
   
   //define drawer limit switch pin as interrupt pin to secure drawer automatically
-  attachInterrupt(digitalPinToInterrupt(doorSwitch), closeDoor, RISING);
+  attachInterrupt(digitalPinToInterrupt(doorSwitch), callCloseDoor, RISING);
   
   pinMode(  trayLimit,  INPUT);
   pinMode(  upLimit,    INPUT);

#define    trayLimit    A5
#define    upLimit      A4

#define    releaseBillDelay 3000 //to wait untill bill released
#define    getBillDelay     1000 //to wait until bill catched for sure
#define    upStepperDelay   3    //to wait before up/down steps
#define    roStepperDelay   15   //to wait before rotation steps

float tempFloat       = 0;    //for saving sensor data temporary
int billCount         = 0;    //for storing bill count added by ISR
int selectedWarehouse = 0;    //to know what warehouse is above the door "0 is the empty one"
bool closeDrawer = false;     //to close door from main loop
/// using half step mode
int seq[8][4]={ {1,0,0,0},
                {1,1,0,0},
