detrending mean attempt