Deleted unused function packetize()