add flow scheme