added support for zipping.