Removed duplicated code: modified showdiff() so it uses also different()