copy paste error, argument is called ``diff`` not ``value``