Index: branches/FEPSimulator/HighwaysParser.cpp
===================================================================
--- branches/FEPSimulator/HighwaysParser.cpp	(revision 202)
+++ branches/FEPSimulator/HighwaysParser.cpp	(revision 205)
@@ -76,13 +76,7 @@
             int numLoops = 0;
             getline(highwaysStream, currLine);
-            cout << currLine << endl;
             char direction;
             sscanf(currLine.c_str(), "%ld %hd %d %c %f %d", &lds, &dropNum, &routeNum, &direction,
                     &postmile, &numLoops);
-            cout << "NumberLoops: " << numLoops << endl;
-            cout << "DropNum: " << dropNum << endl;
-            cout << "LDS: " << lds << endl;
-            cout << "LDSIndex: " << ldsIndex << endl;
-            cout << "postmile: " << postmile << endl;
             newLine->lds.push_back(lds);
             newLine->ldsIndex.push_back(ldsIndex++);
@@ -101,23 +95,23 @@
                 cout << currLine << endl;
                 sscanf(currLine.c_str(), "%ld %f %d %s", &loopID, &occ, &vol, loopLoc);
-                cout << "LOOP ID: " << loopID << endl;
-                cout << "OCC: " << occ << endl;
-                cout << "VOL: " << vol << endl;
-                cout << "LOOPLOC: " << loopLoc << endl;
                 newLoop->loopID = loopID;
                 newLoop->occ = occ;
                 newLoop->vol = vol;
+                newLoop->spd = 0;
                 newLoop->loop_loc = loopLoc;
-                
+                cout << "Adding " << newLoop->loopID << " to " << newStation->lds << endl;
                 newStation->loops.push_back(newLoop);
             }
             newStation->length = newStation->loops.size() * 2 + CONTROL_DATA_LEN;
             newStation->dataPack = DataPacker::packData(newStation);
+            for(int byte = 0; byte < newStation->length; byte++)
+            {
+                printf("%02X", (unsigned char) newStation->dataPack[byte]);
+            }
             
-            cout << "NUMBER OF LOOPS: " << newStation->loops.size() << endl;
-            
+            cout << "Adding " << newStation->lds << " to ldsMap " << " at index " << ldsIndex << endl;
             this->stations.push_back(newStation);
         }
-        
+        cout << "Adding " << newLine->lineNum << " to lines" << endl;
         this->lines.push_back(newLine);
     }
Index: branches/FEPSimulator/nbproject/private/private.xml
===================================================================
--- branches/FEPSimulator/nbproject/private/private.xml	(revision 195)
+++ branches/FEPSimulator/nbproject/private/private.xml	(revision 205)
@@ -11,5 +11,7 @@
             <file>file:/Users/jtorres/tmcsimulator/branches/FEPSimulator/HighwaysParser.h</file>
             <file>file:/Users/jtorres/tmcsimulator/branches/FEPSimulator/DataPacker.h</file>
+            <file>file:/Users/jtorres/tmcsimulator/branches/FEPSimulator/DataPacker.cpp</file>
             <file>file:/Users/jtorres/tmcsimulator/branches/FEPSimulator/FEPSim.cpp</file>
+            <file>file:/Users/jtorres/tmcsimulator/branches/FEPSimulator/Main.cpp</file>
             <file>file:/Users/jtorres/tmcsimulator/branches/FEPSimulator/fep.h</file>
             <file>file:/Users/jtorres/tmcsimulator/branches/FEPSimulator/FEPSim.h</file>
Index: branches/FEPSimulator/FEPSim.cpp
===================================================================
--- branches/FEPSimulator/FEPSim.cpp	(revision 202)
+++ branches/FEPSimulator/FEPSim.cpp	(revision 205)
@@ -26,4 +26,5 @@
     vector<STATION*> ldsMap = highwaysParser.stations;
 
+    
     // Send one reply for every FEPLine
     for (int i = 0; i < lines.size(); i++) {
@@ -74,9 +75,9 @@
             fsa.msg.message[3 + aa] = 0xff;
             
-            for(int l = 0; l < fsa.msg.message_len + 2; l++)
+            /*for(int l = 0; l < fsa.msg.message_len + 2; l++)
             {
                 printf("%02X", (unsigned char) fsa.msg.message[l]);
             }
-            printf("\n");
+            printf("\n");*/
             
             // info
@@ -89,5 +90,5 @@
             fepReply.answers.fep_answer_list_u.shortp.answers[0] = fsa;
             // send out data
-            printf("Transferring line=%d, lds_drop_no=%d...\n", lines.at(i)->lineNum, (int)ldsMap.at(index)->drop);
+            //printf("Transferring line=%d, lds_drop_no=%d...\n", lines.at(i)->lineNum, (int)ldsMap.at(index)->drop);
             // Make RPC Call and handle response
             // printf("Handling ATMS response...\n");
@@ -178,5 +179,5 @@
         // zero out buffer
         bzero(buffer, BUFF_SIZE);
-
+        
         // read XML from socket
         int totBytes = 0;
@@ -184,4 +185,6 @@
             totBytes += n;
         }
+        HighwaysParser highwaysParser = HighwaysParser(buffer);
+
 
         if (n < 0) {
Index: branches/FEPSimulator/FEPSim.h
===================================================================
--- branches/FEPSimulator/FEPSim.h	(revision 195)
+++ branches/FEPSimulator/FEPSim.h	(revision 205)
@@ -43,7 +43,5 @@
 #include <unistd.h>
 
-// const int BUFF_SIZE = 5500000; // where it was
-// const int BUFF_SIZE = 11522291; // what it couldnt be :)
-const int BUFF_SIZE = 950401; // where it is now :) 
+const int BUFF_SIZE = 1266341; // where it is now :) 
 
 class FEPSim {
