flow delegate