mostly have channel flow working, not tested yet
don't need this anymore