[*] method prototype for make diff