Simpler example using `key` argument with `diff`