 
 void step2(int delayMilliseconds)
 {
-  if (i < stepsToInit)
+  if (i < steps_current_time)
     {
     digitalWrite(9, HIGH);  //DISABLE CH A
     digitalWrite(8, LOW); //ENABLE CH B

  }
  
  Serial.println("Time was initialized");
  Serial.println("I is: " + String(i));
  
  
  start_time = millis();
  Serial.println("HEEEERREEE startime: ");
  Serial.println(String(start_time));
  Serial.println(String(millis()));
  
  //set the new step limit for day 
  stepsToInit = steps_day;
  
  //make needle turn right speed until sunset day
  while(i < steps_day){
      
      step1(1);


void step3(int delayMilliseconds)
{
  if (i < steps_current_time)
    {
    digitalWrite(9, LOW);  //ENABLE CH A
    digitalWrite(8, HIGH); //DISABLE CH B
