Updated Compressor Class Code