add stubs for diff