some messing with pair correlation