added basic diff example and fixed misleading doc