Cooking of flow data implemented and tested.