move gzip to diff function