added error messages during the parsing operations