merging and zipping