try to find how to implement diff functions
implement a diff function which returns a list of HitDiff record
add documentation