streamDefinition class pass to Util