further work on autocorrelation