first outline of flow