Designing flows