added computation of change, with test.