tweaked prewhitening example