adding PK and WindowDiff