Adding flow model