Writing the parser myself