DAT2 packing function implemented