working on flows