added expanding groupings