   dataFile.print(",");
 
   /*Magneto*/
-  int x,y,z; //triple axis data
-
-  //Tell the HMC5883L where to begin reading data
-  Wire.beginTransmission(address);
+  int x,y,z; //Triple Axis Data
+
+  Wire.beginTransmission(magnetoAddress);
   Wire.write(0x03); //select register 3, X MSB register
   Wire.endTransmission();
 
-  Wire.requestFrom(address, 6);
+  Wire.requestFrom(magnetoAddress, 6);
   if(6<=Wire.available()){
     x = Wire.read()<<8; //X msb
     x |= Wire.read(); //X lsb

  dataFile.println(",");


	dataFile.close();

  /*UV */
	pinMode(UVOUT, INPUT);
	pinMode(REF_3V3, INPUT);

  /*Luminosity*/
  tsl.begin();
  configureSensor();
  /*Magneto*/
  Wire.beginTransmission(address); //open communication with HMC5883
  Wire.write(0x02); //select mode register
  Wire.write(0x00); //continuous measurement mode
  Wire.endTransmission();
}

void loop(){
	/*Time*/
	DateTime now = rtc.now();

	dataFile = SD.open("datatest.csv", FILE_WRITE);
  dataFile.print(now.month(), DEC);
  dataFile.print("/");
  dataFile.print(now.day(), DEC);

void setup()
{
  /*Serial Setup*/
	Serial.begin(9600); //Start Serial

  /*I2C Setup*/
  Wire.begin(); //Start I2C

	/*Barometer Setup*/
	pressure.begin(); //Start Baro


	/*RTC Setup*/
	rtc.begin(); //Start RTC

  /*Accel Setup*/
	accel.begin(); //Start Accelrometer
	accel.setRange(ADXL345_RANGE_16_G); //Set Accelrometer Range

  /*SDcard Setup*/
	SD.begin(4); //Start SD

  //Print Header
  dataFile = SD.open("datatest.csv", FILE_WRITE); //Open dataFile

  dataFile.println(","); //println is used to start a new row
  dataFile.print("Timestamp");
  dataFile.print(","); //Commas are used to declare a new cell in .CSV
  dataFile.print("External Temp F");
  dataFile.print(",");
  dataFile.print("Absolute Pressure(mB)");
