about to do detrending only for case study