resolving brackets ambiguity