     client.println("\",\"port\":\"80\"} HTTP/1.0");
 }
 
-String getInfoFromSD(boolean check_for_elements){
+void getInfoFromSD(boolean check_for_elements){
     boolean first_element = true;
     boolean ignore = false;
-    String req;
     
     // see if the card is present and can be initialized:
     if (!sd_ready && !SD.begin(chipSelect)) {
         Serial.println("Card failed, or not present");
         // don't do anything more:
-        return "";
+        return;
     }
     else{
         Serial.println("card initialized.");

                    int tp_pos = 0;
                    if(first_element){
                        first_element=false;
                        req += "[";
                    }
                    else{
                        req += ",";
                    }
                    for(int i=0; i<tmp.length(); i++){
                        if(tmp.charAt(i) == ':' || tmp.charAt(i) == '\n'){

                            if(strcmp(cmd,"str")==0){
                                client.print("{\"cmd\":\"str\",");                                  
                                for(int i=0; i<num_elements; i++){
                                    if(strcmp(elements[i]->id, eid) == 0){
                                        Serial.print("starting ");
                                        Serial.println(elements[i]->id);
                                        elements[i]->active = true;
                                    }
                                }
                            }
                            else{ 
