add flow control stubs