created dataflow graph and restructuring