modified flow