add debug stubs