make flows into objects