adding compression support