range check grouping() refs list