update to windowDiff call