map flow work