some bits and pieces of the parser working