parser handles grouping