Packet casting