need to debug
fix dataflow bug
add transformation and debugging