resolve flow