changed method name to stream defs