added unionGroup (allows for GROUP BY on final union result set)