created a parser object