Adding difference and unit test