typo fixed; compress code added