using zlib 1.2.8