simple compressor. not tested yet.