Add makePacket generation