   HttpClient http(client);
   
   err = http.get(kHostname, kPort, kPath);
-  if (err == 0){
+  if (err == 0) {
     Serial.println("startedRequest ok");
     err = http.responseStatusCode();
     if (err == 200) {
       Serial.println("Response Code: " + err);
       err = http.skipResponseHeaders();
       if (err >= 0){
-        int bodyLen = http.contentLength();
         Serial.print("Content length is: ");
-        Serial.println(bodyLen);
+        Serial.println(http.contentLength());
         unsigned long timeoutStart = millis();
         
-        byte d[1];
-        byte modifyInt;
-        while ( (http.connected() || http.available()) &&
-               ((millis() - timeoutStart) < kNetworkTimeout) ){
+        while ((http.connected() || http.available()) &&
+              ((millis() - timeoutStart) < kNetworkTimeout)) {
+
             if (http.available()){
               c = http.read();
               shiftMatrix(c);
               delay(500);
-              bodyLen--;
               // We read something, reset the timeout counter
               timeoutStart = millis();
             } else {

  Serial.begin(9600); 
 
  Serial.println("We Are Booting Up");
  bool attemptNetwork = true;
  while (attemptNetwork)
  {
    Serial.println("About to get IP address via DHCP");
    int d = Ethernet.begin(mac);
    Serial.print("Ethernet Status:");
    Serial.println(d);
    if (d==1) {
      attemptNetwork = false;
    } else {
      delay(1500); 
    }
  }
  Serial.print("My IP address: ");
  Serial.println(Ethernet.localIP());
}

void shiftMatrix(unsigned char movingLine) {

#include <HttpClient.h>
#include <Ethernet.h>
#include <EthernetClient.h>
#include <LedControl.h>
#include <avr/pgmspace.h>


#define FULL_SCREEN 8
//Pins for the Led Matrix (DATA IN,CLK,LOAD)
LedControl lc=LedControl(2,4,3,1);

//The URL to load the Message From
const char kHostname[] = "lyle.github.io";
const char kPath[] = "/dev/by-mine";
const int kPort = 80;

//Ethernet, we do need a network and IP Address
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };

// Number of milliseconds to wait without receiving any data before we give up
const int kNetworkTimeout =20L*1000L; //20 seconds before giving up
// Number of milliseconds to wait if no data is available before trying again
const int kNetworkDelay = 1000; //Between Requests to the server
byte  networkIcon[FULL_SCREEN] = {
  B10000000,
  B10011100,
  B10110110,
  B11100011,
  B11100011,
  B10110110,
  B10011100,
  B10000000};
  
byte matrixVals[FULL_SCREEN] = { 0,0,0,0,0,0,0,0 };


// time between web requests
