added pcap reading ability