expanding parser and scanner