add pass record stream function which does no tokenization