point 1 for packing/unpacking