added gzip decompression