begin to wrap zlib