After Tinkering a bit I did manage to get it!
The second Issue I have now (If you have the time) – is creating an array of each tracedata element. Each tracedata contains the history of the shipment and Ill have to parse through them separately. Can I create an element array of some sort?