tag checking now only optionally requires brackets around tags