 //another UUID well send a message to
 char TOUUID[] = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"; 
 
-WiFiClient client;
+EthernetClient client;
 PubSubClient skynet(server, 1883, onMessage, client);
 
 //we'll run this if anyone messages us

 * This sketch uses the MQTT library to connect to skynet. It sends a message
 * on successful connection and logs data every second.
 *
 * Works with ethernet shields compatible with EthernetClient library from
 * Arduino. If you don't know, grab the original
 * http://arduino.cc/en/Main/ArduinoWiFiShield
 *
 * Remember not to mess with wifis's unavailable pins (7, 10, 11, 12, 13 and 4 if using SD card)
 *
 * You will notice we're using F() in Serial.print. It is covered briefly on
 * the arduino print page but it means we can store our strings in program
 * memory instead of in ram.
 *
 * You can turn on debugging within SkynetClient.h by uncommenting
 * #define SKYNETCLIENT_DEBUG but note this takes up a ton of program space
 * which means you'll probably have to debug on a Mega
 */
 
#include <SPI.h>
#include <WiFi.h>
#include <PubSubClient.h>

char ssid[] = "cartel"; //  your network SSID (name)
char pass[] = "cartelcoffee";    // your network password (use for WPA, or use as key for WEP)
int keyIndex = 0;            // your network key Index number (needed only for WEP)

int status = WL_IDLE_STATUS;

char server[] = "skynet.im";


  Serial.println();
}

void setup()
{

  Serial.begin(9600);

  // start the Ethernet connection:
  if (Ethernet.begin(mac) == 0) {
    Serial.println(F("Failed to configure Ethernet using DHCP"));
    // no point in carrying on, so do nothing forevermore:
    for(;;)
      ;
  }
  
}

void loop()
{
  //we need to call loop for the mqtt library to do its thing and send/receive our messages
  if(skynet.loop()){
  
