added assignment on flow.