added getpacket() for jeff