make zipping a bit more efficient