commit the parser class