removing Zlib dependency