add debugging to Compressor