added print in parser