Working the compress code