The parser works but one of the conditions is wrong and does not match with the example