some tests
update function defs in streaming