addDifference function.