added simple interface to the parser