initial decompression code