adds zipped buffer support