Modified flows

Corrected the flows.