Defining flow