new streamrecord constructor added