final version of correlator