adding compression and testing