almost complete flow v3