add flow controller