 	#endif
 		rtc.begin();
 	if (! rtc.isrunning()) {
-		Serial.println("RTC is NOT running!");
+
 	}
-	/*Accel Setup*/
-	if(!accel.begin())
-	{
-		Serial.println("ADXL345 Not Detected");
+
+  /*Accel Setup*/
+	if(!accel.begin()){
 	}
 	accel.setRange(ADXL345_RANGE_16_G);
 
+  /*SDcard Setup*/
 	if (!SD.begin(4)) {
-	Serial.println("initialization failed!");
-	return;
 	}
 	dataFile = SD.open("datatest.csv", FILE_WRITE);
-	dataFile.print("Year");
+  dataFile.println(",");
+  dataFile.print("Year");
 	dataFile.print(",");
 	dataFile.print("Month");
 	dataFile.print(",");

    status = pressure.getTemperature(T);
    if (status != 0)
    {
      Serial.print("temperature: ");
      Serial.print(T,2);
      Serial.print(" deg C, ");
      Serial.print((9.0/5.0)*T+32.0,2);
      Serial.println(" deg F");

      status = pressure.startPressure(3);
      if (status != 0)

  /*Barometer*/
  char status;
  double T,P,p0,a;
  Serial.println();
  status = pressure.startTemperature();
  if (status != 0)
  {
