add snippset for autocorrelation