adding compression...almost working