add compress and send