add flow, separate test