divice flowobjact from rest of code