First version of the parser