first pass at implementing compress-commons.