add compress feature