added gzip compression