another failed attempt to restruc the parser's as streams