revises task flow.