stubs and code execution