added compress and decompress (gzip)