 #ifdef USE_WIFI_SHIELD
 void wifiConnect()
 {
-  Serial.println("[network] Connecting via WiFi shield"); 
+  Serial.println(F("[network] Connecting via WiFi shield"));
 
   // check for the presence of the shield
   if (WiFi.status() == WL_NO_SHIELD) {
-    Serial.println("[network] WiFi shield not present"); 
+    Serial.println(F("[network] WiFi shield not present"));
     while(1);
   }
 
-  // connect to our network  
-  while ( connectionStatus != WL_CONNECTED) { 
-    Serial.print("[network] Joining network ");
+  // connect to our network
+  while ( connectionStatus != WL_CONNECTED) {
+    Serial.print(F("[network] Joining network "));
     Serial.println(WIFI_SSID);
 
     connectionStatus = WiFi.begin(WIFI_SSID, WIFI_KEY);

#ifdef USE_ETHERNET_SHIELD
void ethernetConnect()
{
  Serial.println("[network] connecting via Ethernet shield");
  Ethernet.begin(ethernetMac);

  // print our Ethernet shield's IP address
  Serial.print("[network] IP address received: ");
  Serial.println(Ethernet.localIP());
}
#endif

  // Check for a new connection
  if (connection)
  {
    Serial.println(F("[server] new client"));
    if (connection.available()) {
      // Get the first couple of bytes
      for (int i=0; i<9; i++)
      {
