add macros and zlib example