change parser's interface