initialize data flow