accept flatBracket param to validate