modify stubs