   Serial.println();
   delay(1000);
   SIM900.println("ATH");        // hanging off call (just for shure);
-  delay(1000);
-  SIM900.println("AT+CMGD=1,4"); // delete all SMS
-  delay(1000);
+  SIM900.println("AT+CMGF=1");
+
 
   Serial.print("[boot] Syncing with RTC clock  ----- ");
   setSyncProvider(RTC.get);   // the function to get the time from the RTC

    {
      if (now() - startOfPeriod[period] <= monPeriodLen[period])
      {
        
        tempSumm[period][sensor] = tempSumm[period][sensor] + sensors.getTempC(thermalSensor[sensor]); // Calcluating summ of temperature vaules for average calculation
        tempAvgCur[period][sensor] = tempSumm[period][sensor] / measuresCount[period]; // Calculating average value for period;
      
      }
      else
      {
        startOfPeriod[period] = now();
 
        tempTrend[period][sensor] = (tempAvgCur[period][sensor] - tempAvgPrev[period][sensor]) / monPeriodLen[period];  //calculating trend per second


        if (debug)
        {
          Serial.print("[DBG] temp current: "); Serial.println(tempAvgCur[period][sensor]); 
          Serial.print("[DBG] temp previous: "); Serial.println(tempAvgPrev[period][sensor]);          
          Serial.print("[DBG] TREND "); Serial.print(sensor); Serial.print(":"); Serial.println(tempTrend[period][sensor]);
          makeForecast(sensor, true);
        }
        tempAvgPrev[period][sensor] = tempAvgCur[period][sensor];
        tempSumm[period][sensor] = 1;
        measuresCount[period] = 1;

  int secToDeath = timeToDeath - minToDeath * 60;

  String datastring;
  datastring = String(toProgressBar(2, 30, gsm_signal));
  datastring += String(" "); 
  datastring += getShortTimeString ();
  datastring += String(" (") + getData(thermalSensor[sensor]) + String(") [");
  for (int period; period < 3; period++)
  {
    datastring += String(tempAvgCur[period][sensor]) + String("/");
  }
  datastring += String("] ETA: ");  
  datastring += minToDeath;
  datastring += String(" (min)");
  return datastring;

}
