adding flow