includes compressor and camera code; latter is buggy