   // #include "cont.h"
 }
 
+
+// Time related Valriables
+unsigned int localPort = 2390;      // local port to listen for UDP packets
+IPAddress timeServerIP; // time.nist.gov NTP server address
+const char* ntpServerName = "time.nist.gov";
+const int NTP_PACKET_SIZE = 48; // NTP time stamp is in the first 48 bytes of the message
+byte packetBuffer[ NTP_PACKET_SIZE]; //buffer to hold incoming and outgoing packets
+WiFiUDP udp;
+unsigned int hh = 0;
+unsigned int mm = 0;
+unsigned int ss = 0;
+
 void setup() {
 
   WiFi.forceSleepBegin();
-  yield();  
-  
+  yield();
+
 #ifdef SERIAL_DEBUG
   Serial.begin(74880);
   delay(10);

  Serial.println(time2 - time1);
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());
  return true;

}

  delay(100);

  if (connectToInternet()) {
    getTime();
    delay(1000);
    disconnectInternet();
  }

}

//
//  INTERNET RELATED CODE
//

bool connectToInternet() {
  uint32_t time1 = millis();
