We can focus on the efficiency later if we have time. 
Anyway, I fixed the parser, and it is working properly