Created an acceptParserStrict method