adding row-reduce to parser