adjust pack to proposal v5
implemented unpack