add compression and checksums