added support for negative correlator