finished (i think) rewriting stream params config