added small diff example in doc