getPackets design