frequency correlation stuff