add two-point correlation function