Implement nested flows