added defs for some (stream) utils