make "diff" Parameterized