   // If the file opened okay, write to it:
   if (dataFile) {
     //Serial.print("Writing to test.txt...");
-    dataFile.println("row,lat,lon,speed,timestamp,sound,brightness,vibration,altitude");
+    dataFile.println("row,lat,lon,speed,timestamp,sound,luminosity,lux,ir,vibration,altitude");
     // close the file:
     dataFile.close();
     //Serial.println("done.");


      //Accel/Gyro
      getAccel_Data();

      //Save collected data to sd card
      dataFile = SD.open("test.csv", FILE_WRITE);

const int chipSelect = 4;
const int soundSensor = A0;

//Light sensor variables
Adafruit_TSL2591 tsl = Adafruit_TSL2591(2591); // pass in a number for the sensor identifier (for your use later)
uint16_t ir, full;


//Barometer variables
float pressure;
