   //==================================================
   Serial.println("Checking hardware");
   // check for the presence of the shield:
-  if (WiFi.status() == WL_NO_SHIELD) {
+  if (WiFi.status() == WL_NO_SHIELD)
+  {
     Serial.println("Wi-Fi shield not found");
     //loop forever
-    while (true);
-  }
-
-  if (! rtc.begin()) {
+    while (true)
+      ;
+  }
+
+  if (!rtc.begin())
+  {
     Serial.println("RTC board not found");
     //loop forever
-    while (true);
+    while (true)
+      ;
   }
 
   //Has the RTC board been initialized?
-  if (! rtc.initialized()) {
+  if (!rtc.initialized())
+  {
     //RTC hasn't been initialized, so it has no time/date value
     Serial.println("RTC is not initialized");
     //The following line sets the RTC to the date & time this sketch was compiled
     //This assumes initializing the RTC immediately after compile, which you would
     //do when you flash the firmware on the device.
     rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));
-  } else {
+  }
+  else
+  {
     Serial.println("RTC is initialized");
   }
 

  //Set the lastMin variable to one minute before now
  lastMin = rtc.now().minute() - 1;
  //if we went into negative numbers (because the minute was 0)
  if (lastMin < 0) {
    lastMin = 59;
  }


  // Connect to the network
  //==================================================
  // attempt to connect to the Wi-Fi network:
  while (status != WL_CONNECTED)
  {
    Serial.print("Connecting to ");
    Serial.println(ssid);
    // Connect to WPA/WPA2 network. Change this line if using open or WEP network:
