made head way capturing packets and translating them to a structure