first attempt to introduce x correction for freq shifting. fail so far.