Functional flows