 	
 	char Ctimestamp[12] = "";
             
-	for (i=0; i<11; i++){
+	for (i=0; i<12; i++){
 		Ctimestamp[i]= timestamp[i];
 	}
-            
-	Serial.println(Ctimestamp);
+        Ctimestamp[12]= '\0';    
+	
+        Serial.println(Ctimestamp);
     
 	while ( globalChecker == 0 ) {
 		t.update();
 		customDue.listen();
-		//customDue.flush();
-		//streamBuffer= "";	
+		
 		for (i=0; i<250; i++) streamBuffer[i]=0x00;
      
 		Serial.println(F("CD is available"));

uint8_t sleep_period = 2;       // the sleep interval in minutes between 2 consecutive alarms

int lastSec, lastMin, lastHr;

Timer t;
int x = 0;
 
int breaker = 0;

char streamBuffer[250];

int exc=0;

}


void getData() { 
  
	Serial.println(F("Turning ON CustomDue "));
  
