added an initial implementation of the decompression method (it works only in some cases... and crashes in the other