Allowing grouping within the selects