Adding ravi's compression